package com.hzb.myvpn.model;

import java.nio.channels.SocketChannel;
import java.util.List;

public class ConnInfo {
    private SocketChannel socket;
    private String localIp;
    private String remoteIp;
    private List<Route> routes;
    
    public String getLocalIp() {
        return localIp;
    }

    public void setLocalIp(String address) {
        this.localIp = address;
    }

    public SocketChannel getSocket() {
        return socket;
    }

    public void setSocket(SocketChannel socket) {
        this.socket = socket;
    }

    public String getRemoteIp() {
        return remoteIp;
    }

    public void setRemoteIp(String gateway) {
        this.remoteIp = gateway;
    }

    public List<Route> getRoutes() {
        return routes;
    }

    public void setRoutes(List<Route> routes) {
        this.routes = routes;
    }
}
